package com.coder.shop.dao.mapper;

import com.coder.shop.dao.model.ShopGoodsTypeSpec;
import com.coder.shop.dao.model.ShopGoodsTypeSpecExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopGoodsTypeSpecMapper {
    long countByExample(ShopGoodsTypeSpecExample example);

    int deleteByExample(ShopGoodsTypeSpecExample example);

    int insert(ShopGoodsTypeSpec record);

    int insertSelective(ShopGoodsTypeSpec record);
    
    int insertBatch(@Param("typeId") Integer typeId,@Param("specIds") Integer[] specIds);

    List<ShopGoodsTypeSpec> selectByExample(ShopGoodsTypeSpecExample example);

    int updateByExampleSelective(@Param("record") ShopGoodsTypeSpec record, @Param("example") ShopGoodsTypeSpecExample example);

    int updateByExample(@Param("record") ShopGoodsTypeSpec record, @Param("example") ShopGoodsTypeSpecExample example);
}